import request from "@/utils/request";
export function getList(params) {
  return request({
    url: "/member/movies/getList",
    method: "GET",
    params,
  });
}
export function getListForDy(params) {
  return request({
    url: "/member/movies/getListForDy",
    method: "GET",
    params,
  });
}

export function getOrderInfoFromThirdForAdmin(id) {
  return request({
    url: "/member/movies/getOrderInfoFromThirdForAdmin",
    method: "GET",
    params: { id },
  });
}

export function refund(data) {
  return request({
    url: "/member/movies/refund",
    method: "POST",
    data,
  });
}
export function dyRefund(data) {
  return request({
    url: "/member/movies/dyRefund",
    method: "POST",
    data,
  });
}
export function getStatics(params) {
  return request({
    url: "/member/movies/moviesCensus",
    method: "GET",
    params,
  });
}

// export function reSubmitMoviesOrder(data) {
//   return request({
//     url: "/api/v1/reSubmitMoviesOrder",
//     method: "post",
//     data,
//   });
// }
